package com.byd.base;

import android.view.View;

public abstract class BaseHolder {
	public int type;
	public int position;
	View convertView;

	public static class Type {
		public static final int NONE = -1;
		public static final int TITLE1 = 0;
		public static final int TITLE2 = 1;
		public static final int TITLE3 = 2;
		public static final int ITEM = 3;

		public static int size() {
			return 4;
		}
	}

	public boolean isUse() {
		return convertView != null && convertView.getParent() != null;
	}
}
